package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.InfoZhidingjieshushijianMapper;
import com.ruoyi.system.domain.InfoZhidingjieshushijian;
import com.ruoyi.system.service.IInfoZhidingjieshushijianService;

/**
 * zhidingjieshushijianService业务层处理
 * 
 * @author ruoyi
 * @date 2023-09-13
 */
@Service
public class InfoZhidingjieshushijianServiceImpl implements IInfoZhidingjieshushijianService 
{
    @Autowired
    private InfoZhidingjieshushijianMapper infoZhidingjieshushijianMapper;

    /**
     * 查询zhidingjieshushijian
     * 
     * @param id zhidingjieshushijian主键
     * @return zhidingjieshushijian
     */
    @Override
    public InfoZhidingjieshushijian selectInfoZhidingjieshushijianById(String id)
    {
        return infoZhidingjieshushijianMapper.selectInfoZhidingjieshushijianById(id);
    }

    /**
     * 查询zhidingjieshushijian列表
     * 
     * @param infoZhidingjieshushijian zhidingjieshushijian
     * @return zhidingjieshushijian
     */
    @Override
    public List<InfoZhidingjieshushijian> selectInfoZhidingjieshushijianList(InfoZhidingjieshushijian infoZhidingjieshushijian)
    {
        return infoZhidingjieshushijianMapper.selectInfoZhidingjieshushijianList(infoZhidingjieshushijian);
    }

    /**
     * 新增zhidingjieshushijian
     * 
     * @param infoZhidingjieshushijian zhidingjieshushijian
     * @return 结果
     */
    @Override
    public int insertInfoZhidingjieshushijian(InfoZhidingjieshushijian infoZhidingjieshushijian)
    {
        return infoZhidingjieshushijianMapper.insertInfoZhidingjieshushijian(infoZhidingjieshushijian);
    }

    /**
     * 修改zhidingjieshushijian
     * 
     * @param infoZhidingjieshushijian zhidingjieshushijian
     * @return 结果
     */
    @Override
    public int updateInfoZhidingjieshushijian(InfoZhidingjieshushijian infoZhidingjieshushijian)
    {
        return infoZhidingjieshushijianMapper.updateInfoZhidingjieshushijian(infoZhidingjieshushijian);
    }

    /**
     * 批量删除zhidingjieshushijian
     * 
     * @param ids 需要删除的zhidingjieshushijian主键
     * @return 结果
     */
    @Override
    public int deleteInfoZhidingjieshushijianByIds(String[] ids)
    {
        return infoZhidingjieshushijianMapper.deleteInfoZhidingjieshushijianByIds(ids);
    }

    /**
     * 删除zhidingjieshushijian信息
     * 
     * @param id zhidingjieshushijian主键
     * @return 结果
     */
    @Override
    public int deleteInfoZhidingjieshushijianById(String id)
    {
        return infoZhidingjieshushijianMapper.deleteInfoZhidingjieshushijianById(id);
    }
}
